Nonlinear Configurations for Superlinear Speedup by Supercompilation

نویسندگان

  • Robert Glück
  • Andrei Klimov
  • Antonina Nepeivoda
چکیده

It is a widely held belief that supercompilation like partial evaluation is only capable of linear-time program speedups. The purpose of this paper is to dispel this myth. We show that supercompilation is capable of superlinear speedups and demonstrate this with several examples. We analyze the transformation and identify the most-specific generalization (msg) as the source of the speedup. Based on our analysis, we propose a conservative extension to supercompilation using equality indices that extends the range of msg-based superlinear speedups. Among other benefits, the increased accuracy improves the time complexity of the palindrome-suffix problem from O(2 2 ) to O(n).

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Superlinear Speedup by Program Transformation ( Extended Abstract ) Neil

There seems to be, at least in practice, a fundamental conflict within program transformations. One way: hand transformations can yield dramatic speedups, but seem to require human insight. They are thus are only suited to small programs and have not been successfully automated. On the other hand, there exist a number of well-known automatic program transformations; but these have been proven t...

متن کامل

Superlinear Speedup by Program Transformation (Extended Abstract) (meta 2012)

There seems to be, at least in practice, a fundamental conflict within program transformations. One way: hand transformations can yield dramatic speedups, but seem to require human insight. They are thus are only suited to small programs and have not been successfully automated. On the other hand, there exist a number of well-known automatic program transformations; but these have been proven t...

متن کامل

Formalizing and Implementing Multi-Result Supercompilation

The paper explains the principles of multi-result supercompilation. We introduce a formalism for representing supercompilation algorithms as rewriting rules for graphs of configurations. Some low-level technical details related to the implementation of multi-result supercompilation in MRSC are discussed. In particular, we consider the advantages of using spaghetti stacks for representing graphs...

متن کامل

Formalizing and Implementing Multi-Result Supercompilation (meta 2012)

The paper explains the principles of multi-result supercompilation. We introduce a formalism for representing supercompilation algorithms as rewriting rules for graphs of configurations. Some low-level technical details related to the implementation of multi-result supercompilation in MRSC are discussed. In particular, we consider the advantages of using spaghetti stacks for representing graphs...

متن کامل

Superlinear Speedup in Parallel Computation

Speedup of a parallel computation is defined as Sp = T/Tp [2], where T is the sequential time of a problem and Tp is the parallel time to solve the same problem using p processors. Tp was argued to be no greater than P in [3]. However, in practice, people observed “superlinear speedup”, i.e. the speedup with P processors is greater than P. Two main reasons for superlinear speedup are shown in [...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016